package com.yao.club.entity.dto;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.time.Instant;

@Getter
@Setter
@Entity
@Table(name = "goods_attr_value")
public class GoodsAttrValue {

    @Id
    @Column(name = "id", nullable = false)
    private Long id;

    @JoinColumn(name = "attr_id", nullable = false)
    private Long attrId;

    @Column(name = "attr_value", nullable = false)
    private String attrValue;

    @Column(name = "file_url")
    private String fileUrl;

    @Column(name = "create_time")
    private Instant createTime;

    @Column(name = "update_time")
    private Instant updateTime;

}